<template>
	<view>
		<wd-button>主要按钮</wd-button>
		<wd-button type="success">成功按钮</wd-button>
		<wd-button type="info">信息按钮</wd-button>
		<wd-button type="warning">警告按钮</wd-button>
		<wd-button type="error">危险按钮</wd-button>
	</view>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { fetchMockTest } from "./api";
import { onLoad } from "@dcloudio/uni-app";
onLoad(() => {
	fetchMockTest().then((res) => {
		console.log(res);
	});
});
</script>

<style lang="scss" scoped></style>
